package team.first.movieapiv1pro.service;

import com.baomidou.mybatisplus.extension.service.IService;
import team.first.movieapiv1pro.domain.Comment;
import team.first.movieapiv1pro.vo.ResponseComment;

import java.util.List;

/**
 * @Author: HAPPY
 * @Project_name: project
 * @Package_name: team.first.movieapiv1pro.service
 * @Date: 2021/11/25 11:00
 * @Description：
 */
public interface CommentService extends IService<Comment> {
    /**
     * 查询电影评论信息
     * @param id 电影编号
     * @param pageSize 查询的条数
     * @param offset 从第几条开始
     * @return 返回查询到的评论集合
     */
    List<ResponseComment> findAllCommentsByMovieId(Integer id);
}

